<template>
  <view class="box">
    <view class="box1" @click="back">
      <uv-icon name="arrow-left" color="#000"></uv-icon>
      <view class="box11">我的邀请</view>
    </view>
    <!--  -->
    <view class="box2">
      <view class="box21">
        <uv-qrcode ref="qrcode" size="260px" value="https://h5.uvui.cn"></uv-qrcode>
        <button class="btn">立即分享</button>
        <view class="btn2">我的邀请</view>
      </view>
    </view>

    <view class="box3">
      <view>邀请规则</view>
      <view class="font">后台编辑上传</view>
    </view>
  </view>
</template>

<script setup>
  import {
    ref
  } from 'vue';
  const back = (() => {
    uni.navigateBack({
      delta: 1, // 返回1个，如果是2，返回2个页面
    });
  })
</script>

<style lang="scss">
  @import url("yaoqinghy.scss");
</style>